package com.hison.tandainbao.service;

import com.hison.tandainbao.entiy.pojo.domain.TbItems;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hison.tandainbao.response.ResponseResult;
import org.springframework.web.bind.annotation.RequestParam;

/**
* @author hison
* @description 针对表【tb_items】的数据库操作Service
* @createDate 2024-03-30 16:46:11
*/
public interface TbItemsService extends IService<TbItems> {

    ResponseResult getAll();

    ResponseResult addItem(TbItems tbItems);

    ResponseResult getMyPutItems();

    ResponseResult getItem(String name);

    ResponseResult updateItem(Integer itemId,Integer type);

    ResponseResult deleteItem(Integer itemId);

    ResponseResult adminUpdateStatus(Integer itemId, Integer status);

    ResponseResult adminGetAll(Integer current, Integer total);
}
